package com.softoa.service;

import com.softoa.pojo.Historynews;
import com.softoa.pojo.News;
import com.softoa.pojo.Session;
import com.softoa.pojo.SessionInfo;

public interface ISessionService {
    /**
     * SessionService层
     * @param session
     * @return
     */
    public int sessionInsert(Session session);
    public int sessionUpdate(Session session);
    public java.util.List<Session> sessionSelectList(String userId);
    public Session sessionSelectOne(int sessionId);
    public java.util.List<News> sessionSelectNews(News rule);
    public int sessionInsertNews(News news);
    public java.util.List<SessionInfo> sessionShow(int userId);
    public java.util.List<Historynews> historyShow(Historynews historynews);
}
